package com.guoheng.hazard.sys.service.wuZhongData;


import com.guoheng.hazard.sys.model.dto.wuZhongData.WoZhongTankDataDTO;
import com.guoheng.hazard.sys.model.dto.wuZhongData.WoZhongTankHistoryDataDTO;

import java.util.HashMap;

public interface WuZhongDataService {
    /**
     * 得到传感器实时数据
     */
    WoZhongTankDataDTO getTankSensorData(String tankId, String companyId) throws Exception;

    /**
     * 得到传感器历史数据
     */
    WoZhongTankHistoryDataDTO getSensorHistoryData(String beginTime, String endTime, String sensorId, String tankId, String companyId) throws Exception;

    /**
     * 得到传感器实时报警数据
     */
    HashMap<String, Object> getSensorAlarmData(String sensorId, String tankId, String companyId);

    /**
     * 得到历史报警数据
     */
    HashMap<String, Object> getSensorHistoryAlarmData(String companyCode, String beginTime, String endTime);

}
